Actions for Sound Tracks
You use these actions for sound tracks to set volume and balance. With these, you can create a button or slider to control sound tracks.
Constant descriptions
-
kActionTrackSetVolume
-
IsDelta
,
WrapsAround
Param1
: [
short
volume
] Default Min: 0, Default Max: 255
-
Sets the track's volume level.
-
kActionTrackSetBalance
-
Supported Flags:
IsDelta
,
WrapsAround
Param1: [short volume]
Default Min: -128, Default Max: 128
-
Sets the track's left to right balance.
-
The range of numbers is as follows: -128 = only left; 128 = only right; 0 = even amounts of left and right.
© 1999 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |